﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MinorWorkProjectFrame.ascx.cs"
    Inherits="AB.ServiceDirectory.Design.WebUserControls.Frame.MinorWorkProjectFrame" %>
<script type="text/javascript">
    function Confirm_Active() {
        return confirm('Do you want active this Department ?');
    }
</script>
<asp:UpdatePanel runat="server" ID="UpdatePanelDepartmentList">
    <ContentTemplate>
        <div class="titleh">
            <h3 class="sorting_range">
                <asp:LinkButton ID="LinkButtonAll" runat="server" OnCommand="FilterByLetters_Command"
                    CommandName="all" CausesValidation="False" CssClass="hg-blue" ClientIDMode="Static">All</asp:LinkButton>
                <asp:LinkButton ID="LinkButton09" runat="server" CommandName="09" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">0-9</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonAE" runat="server" CommandName="ae" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">A B C D E</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonFJ" runat="server" CommandName="fj" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">F G H I J</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonKN" runat="server" CommandName="kn" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">K L M N </asp:LinkButton>
                <asp:LinkButton ID="LinkButtonOR" runat="server" CommandName="or" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">O P Q R</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonSV" runat="server" CommandName="sv" OnCommand="FilterByLetters_Command"
                    CausesValidation="False" ClientIDMode="Static">S T U V</asp:LinkButton>
                <asp:LinkButton ID="LinkButtonWZ" CssClass="last" runat="server" CommandName="wz"
                    OnCommand="FilterByLetters_Command" CausesValidation="False" ClientIDMode="Static">W X Y Z</asp:LinkButton>
                <span class="right">
                    <asp:LinkButton ID="LinkButtonCreate" runat="server" CssClass="hg-blue" OnClick="LinkButtonCreate_Click"
                        CausesValidation="False" PostBackUrl="~/Premises/AAddMinorWorkProjects.aspx">Create</asp:LinkButton>
                    <asp:CheckBox ID="CheckBoxInactive" runat="server" Text="Include In-active" AutoPostBack="True"
                        OnCheckedChanged="CheckBoxInactive_CheckedChanged" />
                </span>
            </h3>
        </div>
        <asp:GridView ID="GridViewDepartmentList" runat="server" CssClass="tablesorter" AutoGenerateColumns="False" AllowSorting="true">
            <Columns>
                <asp:TemplateField HeaderText="Description" SortExpression="Description">
                    <ItemTemplate>
                        <a href="Description"></a>
                    </ItemTemplate>
                    <HeaderStyle CssClass="header" Width="168px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Enq Received Date" SortExpression="ReceivedDate">
                    <ItemTemplate>
                        Address Line
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" CssClass="header" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Note Action" SortExpression="NoteAction">
                    <ItemTemplate>
                        43543
                    </ItemTemplate>
                    <HeaderStyle CssClass="header" Width="170px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Directorate" SortExpression="Directorate">
                    <ItemTemplate>
                        ABC
                    </ItemTemplate>
                    <HeaderStyle CssClass="header" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Contact" SortExpression="Contact">
                    <ItemTemplate>
                        ABC
                    </ItemTemplate>
                    <HeaderStyle CssClass="header" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Status" SortExpression="Status">
                    <ItemTemplate>
                        ABC
                    </ItemTemplate>
                    <HeaderStyle CssClass="header" Width="100px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Is Active?" SortExpression="IsActive">
                    <ItemTemplate>
                        Yes
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" CssClass="header" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <blockquote>
                    There are no items to show.</blockquote>
            </EmptyDataTemplate>
        </asp:GridView>
    </ContentTemplate>
</asp:UpdatePanel>